Optimizing Constraint Weaving in Model Transformation with Structural Constraint Specification
نویسندگان
چکیده
Model-Driven Architecture (MDA) as a model-based approach to software development facilitates the synthesis of application programs from models created using customized, domain-specific model processors. MDA model compilers can be realized by graph rewriting-based model transformation. In Visual Modeling and Transformation System (VMTS), metamodel-based rewriting rules facilitate to assign OCL constraints to model transformation steps. This approach supports validated model transformation. The goal is to validate not only the individual transformation steps, but the whole transformations as well. Unfortunately, the validation introduces a new concern that often crosscuts the functional concern of the transformation steps. To separate these concerns and make them reusable, an aspect-oriented solution is presented for constraint management. This paper introduces a new type of aspect, the constraint aspect to separate the crosscutting constraints from model transformation steps. Moreover, algorithms are given to create and weave constraint aspects to model transformation steps prior to the execution of the transformation. The presented method results in a more efficient and optimized weaving, furthermore, we can require that not only a single transformation step, but a whole transformation validates, preserves or guarantees certain properties about the output of the transformation.
منابع مشابه
Weaving in Role-Based Aspect-Oriented Design Models
Aspect-oriented modeling deals with cross-cutting concerns at early stages of the software development. Weaving involves highly abstract aspect descriptions, and it is necessary to take into account application specific constraints. We adopt a role-based aspect-oriented modeling method and define a notion of the aspect weaving in a systematic way. We further discuss how we use Alloy, a lightwei...
متن کاملReal-time Visualization of Woven Textiles
This paper presents a technique for visualizing woven textiles in real time, while optimizing the realistic appearance. The proposed approach supports rendering of complex weave patterns by adopting Weaving Information File (WIF), a standard from textile Computer Aided Design (CAD) for representing the grammar of weaving. We develop a realistic rendering scheme by combining the grammar represen...
متن کاملConstraint-Based Model Weaving
Aspect-Oriented Modeling (AOM) is a promising technique for untangling the concerns of complex enterprise software systems. AOM decomposes the cross-cutting concerns of a model into separate models that can be woven together to form a composite solution model. In many domains, such as multi-tiered e-commerce web applications, separating concerns is much easier than deducing the proper way to we...
متن کاملAspect-oriented Constraint Management in Metamodel-based Model Transformation Steps
A widely applied approach to model transformation uses graph rewriting as the underlying transformation technique. In case of diagrammatic languages, such as the Unified Modeling Language (UML), the exclusive topological matching is found to be not enough. To define the transformation steps precisely beyond the structure of the visual models, additional constraints must be specified which ensur...
متن کاملAn optimizing OCL Compiler for Metamodeling and Model Transformation Environments
Constraint specification and validation lie at tlie heart of modeling and model transformation. The Object Constraint Language (OCL) is a wide-spread formalism to express constraints in modeling environments. There are several interpreters and compilers that handle OCL constraints in modeling, but these tools do not support constraint optimization, therefore, the model validation can be slow. T...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006